package com.qf.advice;

import org.springframework.aop.ThrowsAdvice;

/**
 * @author 千锋教育
 * @Company http://www.mobiletrain.org/
 * @Version 1.0
 */
public class MyThrowingAdvice implements ThrowsAdvice {

    public void afterThrowing(Exception e){
        System.out.print("异常通知:");
        System.out.println(e.getMessage());
    }
}
